import request from '@/utils/request'


export function GetArticleList(params) {
  return request({
    url: '/article/list',
    method: 'get',
    params: params
  })
}
export function DeleteArticleList(params) {
  return request({
    url: '/article/remove/'+params,
    method: 'get',
  })
}

export function InsertArticleList(params) {
  return request({
    url: '/article/add',
    method: 'post',
    data: params
  })
}
export function EditArticleList(params) {
  return request({
    url: '/article/edit',
    method: 'post',
    data: params
  })
}
export function EditAuthor(params) {
  return request({
    url: '/article/editAuthor',
    method: 'get',
    params: params
  })
}

